package top.whysu.rongcloud.dto.rongcloud.groups;

import org.hibernate.validator.constraints.NotEmpty;

import java.util.List;

/**
 * @author whysu
 * @version 1.00.00
 * @description 群组添加群成员
 * @copyright
 * @company
 * @date 2021-03-16 15:31
 */
public class GroupsAddDTO extends GroupsDTO{
    /**
     * 要添加的群成员id集合（如果某个成员已经添加，后台会自动判断，不会重复添加）
     */
    @NotEmpty(message = "请指定要添加的群成员！")
    private List<String> addMemberAccounts;

    public List<String> getAddMemberAccounts() {
        return addMemberAccounts;
    }

    public void setAddMemberAccounts(List<String> addMemberAccounts) {
        this.addMemberAccounts = addMemberAccounts;
    }
}